home *** CD-ROM | disk | FTP | other *** search
/ Enter Special 5: Digital Photography / ENTER Special 05.iso / Grafika / Paint Shop Pro 8.0 / psp800ev.exe / Data1.cab / Preset_MagnifyingLens_Electr < prev    next >
Encoding:
Text File  |  2003-04-22  |  2.2 KB  |  66 lines

  1. from JascApp import *
  2.  
  3. def ScriptProperties():
  4.     return {
  5.         'Author': 'Kris Zaklika',
  6.         'Copyright': 'Copyright (C) 2002-2003, Jasc Software Inc., All Rights Reserved.',
  7.         'Description': 'A glowing neon effect',
  8.         'Host': 'Paint Shop Pro',
  9.         'Host Version': '8.00'
  10.         }
  11.  
  12. def Preset_MagnifyingLens():
  13.     return {
  14.         'Bound': (0.17125,0.0616667,0.82375,0.931667), 
  15.         'Darkness': 80, 
  16.         'Defocus': 0, 
  17.         'Frame': {
  18.             'FrameColor': (149,224,88), 
  19.             'Material': App.Constants.LensFrameMaterial.BrightBronze, 
  20.             'Style': App.Constants.LensFrameShape.Circular, 
  21.             'Thickness': 2
  22.             }, 
  23.         'Illumination': {
  24.             'LightList': [{
  25.                 'LightColor': (100,212,211), 
  26.                 'LightDirection': (-0.811302,0.321879,-0.488039), 
  27.                 'HighlightSize': 31
  28.                 },{
  29.                 'LightColor': (100,212,211), 
  30.                 'LightDirection': (0.308698,0.441879,-0.842288), 
  31.                 'HighlightSize': 31
  32.                 },{
  33.                 'LightColor': (100,212,211), 
  34.                 'LightDirection': (-0.451302,-0.518121,-0.726551), 
  35.                 'HighlightSize': 28
  36.                 },{
  37.                 'LightColor': (0,255,255), 
  38.                 'LightDirection': (0.73735,-0.54265,-0.402301), 
  39.                 'HighlightSize': 20
  40.                 }], 
  41.             'MaxAmbience': 94, 
  42.             'MinAmbience': 9
  43.             }, 
  44.         'LensSurface': {
  45.             'EnvironmentMap': {
  46.                 'Active': App.Constants.Boolean.false
  47.                 }, 
  48.             'Gloss': 22, 
  49.             'Magnification': 32, 
  50.             'LensMaterial': {
  51.                 'Color': (1,255,150), 
  52.                 'Pattern': None, 
  53.                 'Gradient': None, 
  54.                 'Texture': None
  55.                 }, 
  56.             'LensOpacity': 31, 
  57.             'Refraction': 22, 
  58.             'ShapeType': App.Constants.LensShape.Spherical, 
  59.             'Shininess': 22
  60.             }
  61.         }
  62.  
  63. def Do(Environment):
  64.     App.Do( Environment, 'MagnifyingLens',         Preset_MagnifyingLens())
  65.  
  66.